package top.laoshuzi.scad.mosinnagant.utils.ex

import eu.printingin3d.javascad.basic.Radius
import eu.printingin3d.javascad.models.Cylinder

fun Cy(length: Double, radius: Double): Cylinder {
    return Cy(length, radius, radius)
}

fun Cy(length: Double, bottomRadius: Double, topRadius: Double): Cylinder {
    return Cylinder(length, Radius.fromRadius(bottomRadius), Radius.fromRadius(topRadius))
}